*{
	margin: 0;
	padding: 0;
}
html,body,#app{
	height: 100%;
	max-width: 640px;
	margin: 0 auto;
	overflow:hidden;
}
body{
	font-family: '微软雅黑';
}

/*开始页面*/
#startPage{
	height: 100%;
	background: url(../img/startback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color: #e18315;
	position: relative;
}
#startBanner{
	width:100%;
	height: 3.24rem;
	position: absolute;
	left:0;
	top:1.74rem;
	background: url(../img/starttitle.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#startBtn{
	width:4.5rem;
	height: 1.3rem;
	position: absolute;
	left:0;
	right:0;
	bottom:1.32rem;
	margin: auto;
	background: url(../img/startbtn.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.linkBox{
	display: flex;
	display: -webkit-flex;
	justify-content: center;
	width:100%;
	height: .76rem;
	position: absolute;
	left:0;
	bottom: 0;
}
.linkBox:after{
	content:'';
	position: absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	margin: auto;
	width:.02rem;
	height: .3rem;
	background: #ffffff;
}
.linkBox .linkItem{
	width:1.9rem;
	height: .76rem;
	line-height: .76rem;
	font-size: .28rem;
	color:#ffffff;
	text-align: center;
}

/*规则页面*/
#rulePage{
	height: 100%;
	background: #7e4e18 url(../img/rule.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	position: relative;
}
#iKnowBtn{
	position: absolute;
	left:0;
	right:0;
	margin:auto;
	top:8.05rem;
	width:3.75rem;
	height: .98rem;
}

/*游戏页*/
#gamePage{
	position: relative;
	width:100%;
	height: 100%;
	background: url(../img/gameback.jpg) no-repeat 0 bottom;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	background-color:#f19227;
}
#timer{
	width:1.63rem;
	height: .71rem;
	position: absolute;
	left:.3rem;
	top:.49rem;
	font-size: .36rem;
	color:#ffffff;
	font-family: '华文琥珀','黑体';
	background: url(../img/timer.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	text-align: right;
	padding-right: .2rem;
	box-sizing: border-box;
	line-height: .9rem;
}
#timer i{
	font-style: normal;
	font-size: .2rem;
	font-weight: normal;
	font-family: '微软雅黑';
	padding-left:.08rem;
}
#counter{
	position: absolute;
	width: 2.11rem;
	height: .7rem;
	top:.52rem;
	right:.28rem;
	background: url(../img/counter.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	text-align: right;
	padding-right: .32rem;
	box-sizing: border-box;
	font-size: .36rem;
	color:#ffffff;
	line-height: .9rem;
	font-family: '华文琥珀','黑体';
}
#gameArea{
	width:100%;
	height: 9.86rem;
	position: absolute;
	bottom:1rem;
	left:0;
}
#person{
	width:1.16rem;
	height: 1.37rem;
	position: absolute;
	left:3.18rem;
	bottom:0;
	background: url(../img/person.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.getChicken:after{
	content:'';
	width:1.02rem;
	height: .7rem;
	position: absolute;
	top:-.7rem;
	left:0;
	right:0;
	margin: auto;
	background: url(../img/chicken.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.getChicken:before{
	content:'+1';
	font-size: .3rem;
	color:#f50d0d;
	position: absolute;
	right:0;
	top:0;
	transform: translate(100%,-150%);
	font-family: '华文琥珀','黑体';
	animation:numTip .8s;
}
@keyframes numTip{
	from{
		top:0;
		opacity: 1;
	}
	to{
		top:-.3rem;
		opacity: 0;
	}
}
.getBomb:after{
	content:'';
	width:1.07rem;
	height: 1.02rem;
	position: absolute;
	top:-.92rem;
	left:0;
	right:0;
	margin: auto;
	background: url(../img/bomb.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.getBomb:before{
	content:'-1';
	font-size: .3rem;
	color:#f50d0d;
	position: absolute;
	right:0;
	top:0;
	transform: translate(140%,-170%);
	font-family: '华文琥珀','黑体';
	animation:numTip .8s;
}
.tnt{
	position: absolute;
	width:.85rem;
	height: .96rem;
	background: url(../img/tnt.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.chicken{
	position: absolute;
	width:1.02rem;
	height: .7rem;
	background: url(../img/chicken.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}

/*失败页面*/
#failPage,#successPage{
	height: 100%;
	background: url(../img/resultback.jpg) no-repeat 0 0;
	-webkit-background-size: 100% auto;
	background-size: 100% auto;
	position: relative;
}
#failBox{
	width: 5.22rem;
	height: 6.77rem;
	position: absolute;
	left:0;
	right:0;
	margin: auto;
	top:0;
	bottom:0;
	background: url(../img/failbox.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
.resultWords{
	width:100%;
	color:#6a401a;
	font-size: .36rem;
	line-height: .68rem;
	position: absolute;
	text-align: center;
	top:1.7rem;
}
.resultWords span{
	font-size: .4rem;
	color:#f80d0a;
	font-weight: bold;
	padding: 0 .15rem;
}
.btn{
	width:3.75rem;
	height: .98rem;
	position: absolute;
	left:0;
	right:0;
	margin:auto;
}
#failAgain{
	bottom: 1.94rem;
}
#failFriend{
	bottom: .66rem;
}

/*成功页面*/
#successBox{
	position: absolute;
	width:5.22rem;
	height: 8.04rem;
	left:0;
	right:0;
	margin:auto;
	top:0;
	bottom:0;
	background: url(../img/successbox.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
}
#successLottery{
	bottom:3.27rem;
}
#successAgain{
	bottom:1.99rem;
}
#successFriend{
	bottom:.71rem;
}
#lotterySuccessBox{
	position: absolute;
	width:5.22rem;
	height: 5.11rem;
	left:0;
	right:0;
	margin:auto;
	top:4.23rem;
	background: url(../img/lotterysuccess.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	display: none;
}
#lotteryWords{
	font-size: .36rem;
	color:#6a401a;
	letter-spacing: 1px;
	width:100%;
	text-align:center;
	line-height: 1.1rem;
	font-family: '黑体';
}
#lotteryWords span{
	color:#f80d0a;
	padding-left: .16rem;
}
#lotterySuccessAgain{
	bottom: .64rem;
}
#lotteryFailBox{
	position: absolute;
	width:5.22rem;
	height: 5.11rem;
	left:0;
	right:0;
	margin:auto;
	top:4.23rem;
	background: url(../img/lotteryfail.png) no-repeat 0 0;
	-webkit-background-size: contain;
	background-size: contain;
	display: none;
}